/*
 * Copyright (C) 2016 yixun All Rights Reserved.
 * 
 * DistributionDto.java
 */
package com.emm.yixun.common.model.dto;

import java.util.List;

import org.apache.commons.lang3.StringUtils;

import com.emm.yixun.common.model.enums.CustomerSexEnum;
import com.emm.yixun.common.model.enums.CustomerStatusEnum;
import com.emm.yixun.common.model.enums.IntentionLevelEnum;
import com.emm.yixun.common.model.enums.ProcessStatusEnum;


public class ExtendDistributionDto extends DistributionDto {
	private String customerName;
	private String customerPhone;
	private String customerSex;
	private String intentionLevel;
	private String customerStatus;
	private String customerOrigin;
	private String customerSexName;
	private String intentionLevelName;
	private String customerStatusName;
	
	//分配人
	private String createUserName;
	//新归属人
	private String assignPersonName;
	//处理状态
	private String processStatusName;
	
	private List<String> intentionLevelList;
	private List<String> customerStatusList;
	private List<String> customerOriginList;
	
	public String getCustomerName() {
		return customerName;
	}
	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}
	public String getCustomerPhone() {
		return customerPhone;
	}
	public void setCustomerPhone(String customerPhone) {
		this.customerPhone = customerPhone;
	}
	public String getCustomerSex() {
		return customerSex;
	}
	public void setCustomerSex(String customerSex) {
		this.customerSex = customerSex;
	}
	public String getIntentionLevel() {
		return intentionLevel;
	}
	public void setIntentionLevel(String intentionLevel) {
		this.intentionLevel = intentionLevel;
	}
	public String getCustomerStatus() {
		return customerStatus;
	}
	public void setCustomerStatus(String customerStatus) {
		this.customerStatus = customerStatus;
	}
	public String getCustomerSexName() {
		if(StringUtils.isNotBlank(this.customerSex)){
			try {
				customerSexName=CustomerSexEnum.getByNo(this.customerSex).getDes();
			} catch (Exception e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
		return customerSexName;
	}
	public void setCustomerSexName(String customerSexName) {
		this.customerSexName = customerSexName;
	}
	public String getIntentionLevelName() {
		if(StringUtils.isNotBlank(this.intentionLevel)){
			try {
				intentionLevelName=IntentionLevelEnum.getByNo(this.intentionLevel).getDes();
			} catch (Exception e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
		return intentionLevelName;
	}
	public void setIntentionLevelName(String intentionLevelName) {
		this.intentionLevelName = intentionLevelName;
	}
	public String getCustomerStatusName() {
		if(StringUtils.isNotBlank(this.customerStatus)){
			try {
				customerStatusName=CustomerStatusEnum.getByNo(this.customerStatus).getDes();
			} catch (Exception e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
		return customerStatusName;
	}
	public void setCustomerStatusName(String customerStatusName) {
		this.customerStatusName = customerStatusName;
	}
	public List<String> getIntentionLevelList() {
		return intentionLevelList;
	}
	public void setIntentionLevelList(List<String> intentionLevelList) {
		this.intentionLevelList = intentionLevelList;
	}
	public List<String> getCustomerStatusList() {
		return customerStatusList;
	}
	public void setCustomerStatusList(List<String> customerStatusList) {
		this.customerStatusList = customerStatusList;
	}
	public List<String> getCustomerOriginList() {
		return customerOriginList;
	}
	public void setCustomerOriginList(List<String> customerOriginList) {
		this.customerOriginList = customerOriginList;
	}
	public String getCreateUserName() {
		return createUserName;
	}
	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}
	public String getAssignPersonName() {
		return assignPersonName;
	}
	public void setAssignPersonName(String assignPersonName) {
		this.assignPersonName = assignPersonName;
	}
	public String getProcessStatusName() {
		if(StringUtils.isNotBlank(this.getProcessStatus())){
			try {
				processStatusName=ProcessStatusEnum.getByNo(this.getProcessStatus()).getDes();
			} catch (Exception e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
		return processStatusName;
	}
	public void setProcessStatusName(String processStatusName) {
		this.processStatusName = processStatusName;
	}
	public String getCustomerOrigin() {
		return customerOrigin;
	}
	public void setCustomerOrigin(String customerOrigin) {
		this.customerOrigin = customerOrigin;
	}
	
	
	
}
